package com.forbet.demo.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 亚赔实体类
 *
 * @author hading
 * @date 2023-11-23 21:15:19
 */
@Data
@TableName("asian_banker_info")
public class AsianBankerInfoPO implements Serializable {

    private static final long serialVersionUID = 1L;

    //    id
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @TableField("banker_name")
    private String bankerName;

    @TableField("home_handicap")
    private BigDecimal homeHandicap;

    @TableField("visit_handicap")
    private BigDecimal visitHandicap;

    @TableField("create_time")
    private Date createTime;

    //    0:初盘  1:即盘
    @TableField("start_now_handicap_flag")
    private String startNowHandicapFlag;

    //    让球情况(受或不受球)
    @TableField("handicap_name")
    private String handicapName;

    @TableField("play_info_id")
    private Long playInfoId;
}
